package com.gong.application;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
@ConfigurationProperties("dbtypes")
@Component
@Data
public class DbType {
    private List<String> name;

    @Override
    public String toString() {
        return "DbType{" +
                "name=" + name +
                '}';
    }
}
